package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.exceptions.DmcBizException;
import com.csun.cmny.provider.model.domain.DmcBedsideCareBind;
import com.csun.cmny.provider.model.dto.bedsideScreen.BindBedsideScreenDto;
import com.csun.cmny.provider.model.dto.bedsideScreen.BindCMBedsideScreenDto;
import com.csun.cmny.provider.model.dto.propertyManagement.SelectDeviceDataDto;
import com.csun.cmny.provider.model.vo.propertyManagement.PropertyDataVo;

import java.util.List;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-02-13 15:06
 * @Description: the interface dmc sleep care bind service
 */
public interface DmcBedsideScreenBindService extends IService<DmcBedsideCareBind> {



    Integer bind(BindBedsideScreenDto bindBedsideScreenDto, LoginAuthDto loginAuthDto) throws DmcBizException;

    Integer bindWithRoom(BindCMBedsideScreenDto bindCMBedsideScreenDto, LoginAuthDto loginAuthDto) throws DmcBizException;

    Integer breakSleepCare(Long deviceId);

    Integer breakSleepCareWithRomm(Long deviceId);

    Integer deleteCsunBedsideById(Long id);

    List<PropertyDataVo> selectDeviceData(SelectDeviceDataDto selectDeviceDataDto);
}
